<?php get_header(); ?>

	<div id="content" class="span-13 append-1">

	<?php if (have_posts()) : ?>

		<?php while (have_posts()) : the_post(); ?>

			<div class="post clearfix" id="post-<?php the_ID(); ?>">
				<div class="postmetadata"><span class="comments"><?php comments_popup_link(__('No Comments', 'NeeWee'), __('1 Comment', 'NeeWee'), __('% Comments', 'NeeWee')); ?></span> <?php _e('Posted on', 'NeeWee');?> <?php the_time('F jS, Y') ?> <?php _e('by', 'NeeWee');?> <?php the_author() ?></div>
				<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link to', 'NeeWee');?> <?php the_title(); ?>"><?php the_title(); ?></a></h3>
				<p class="postmetadata"><?php _e('Category', 'NeeWee');?>: <?php the_category(', ') ?><?php the_tags(__(', Tags', 'NeeWee') . ': ', ', ') ?></p>
				<div class="entry">
					<?php the_content(__('Read the rest of this entry &raquo;', 'NeeWee')); ?>
				</div>
				<?php if(is_single()){ ?>
				<hr />
				<h3>What is next</h3>
				<ul class="next-action">
				<li class="rss">
					<?php if($neewee['feedburner_feed_url'] == '') {?>
					<a href="<?php bloginfo('rss2_url'); ?>"><?php _e('Subscribe to our RSS', 'NeeWee');?></a>
					<?php } else { ?>
						<a href="<?php echo($neewee['feedburner_feed_url']); ?>"><?php _e('Subscribe to our RSS', 'NeeWee');?></a>
					<?php }?>
				</li>
				</ul>
				<?php } ?>
			</div>
			<hr/>
			<?php comments_template(); ?>
		<?php endwhile; ?>

		<div class="navigation">
			<div class="alignleft"><?php next_posts_link('&laquo; ' . __('Previous Entries', 'NeeWee')) ?></div>
			<div class="alignright"><?php previous_posts_link(__('Next Entries', 'NeeWee') . ' &raquo;') ?></div>
		</div>

	<?php else : ?>

		<h2 class="center"><?php _e('Not Found', 'NeeWee');?></h2>
		<p class="center"><?php _e('Sorry, but you are looking for something that isnt here.', 'NeeWee');?></p>
		<?php include (TEMPLATEPATH . "/searchform.php"); ?>

	<?php endif; ?>

	</div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>
